<?xml version="1.0"?>
<doc>
    <assembly>
        <name>GTM.Sytech.Button</name>
    </assembly>
    <members>
        <member name="T:Gadgeteer.Modules.Sytech.Button">
             <summary>
             A Button Gadgeteer module.
             </summary>
             <example>
             <para>The following example show intialization of a <see cref="T:Gadgeteer.Modules.Sytech.Button"/> object and the delegate that handles the 
             <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonPressed"/> event.</para>
             <code>
             using System;
             using Microsoft.SPOT;
             using Microsoft.SPOT.Presentation;
             using Microsoft.SPOT.Presentation.Controls;
             using Microsoft.SPOT.Presentation.Media;
            
             using GT = Gadgeteer;
             using GTM = Gadgeteer.Modules;
            
             using Gadgeteer.Modules.Sytech;
            
             namespace GadgeteerAppGettingStarted
             {
                 public partial class Program
                 {
                     // This template uses the NANAO mainboard from Sytech Designs
            
                     // Define and initialize GTM.Modules here, specifying their socket numbers.        
                     GTM.Sytech.UsbDevice usbClient = new UsbDevice(1);
                     GTM.Sytech.Button button = new Button(2);
            
                     void ProgramStarted()
                     {
                         // Initialize event handlers here.
                         button.ButtonPressed += new Button.ButtonEventHandler(button_ButtonPressed);
            
                         // Do one-time tasks here
                         Debug.Print("Program Started");
                     }
            
                     void button_ButtonPressed(Button sender, Button.ButtonState state)
                     {
                         Debug.Print("Button pressed.");
                     }
                 }
             }
            
             </code>
             </example>
        </member>
        <member name="M:Gadgeteer.Modules.Sytech.Button.#ctor(System.Int32)">
            <summary></summary>
            <param name="socketNumber">The socket that this module is plugged in to.</param>
        </member>
        <member name="M:Gadgeteer.Modules.Sytech.Button.TurnLEDOn">
            <summary>
            Turns on the module's LED.
            </summary>
        </member>
        <member name="M:Gadgeteer.Modules.Sytech.Button.TurnLEDOff">
            <summary>
            Turns off the module's LED.
            </summary>
        </member>
        <member name="M:Gadgeteer.Modules.Sytech.Button.ToggleLED">
            <summary>
            Toggles the module's LED. If the LED is currently on, it is turned off. If it is currently off, it is turned on.
            </summary>
        </member>
        <member name="M:Gadgeteer.Modules.Sytech.Button.OnButtonEvent(Gadgeteer.Modules.Sytech.Button,Gadgeteer.Modules.Sytech.Button.ButtonState)">
            <summary>
            Raises the <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonPressed"/> or <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonReleased"/> event.
            </summary>
            <param name="sender">The <see cref="T:Gadgeteer.Modules.Sytech.Button"/> that raised the event.</param>
            <param name="ButtonState">The state of the Button.</param>
        </member>
        <member name="P:Gadgeteer.Modules.Sytech.Button.IsPressed">
            <summary>
            Gets a value that indicates whether the state of this Button is Pressed.
            </summary>
        </member>
        <member name="P:Gadgeteer.Modules.Sytech.Button.LEDMode">
            <summary>
            Gets or sets the LED's current mode of operation.
            </summary>
        </member>
        <member name="P:Gadgeteer.Modules.Sytech.Button.IsLedOn">
            <summary>
            Gets a boolean value that indicates whether the module's LED is currently lit (true = lit, false = off).
            </summary>
        </member>
        <member name="E:Gadgeteer.Modules.Sytech.Button.ButtonReleased">
            <summary>
            Raised when the state of <see cref="T:Gadgeteer.Modules.Sytech.Button"/> is high.
            </summary>
            <remarks>
            Implement this event handler and the <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonPressed"/> event handler
            when you want to provide an action associated with Button activity.
            The state of the Button is passed to the <see cref="T:Gadgeteer.Modules.Sytech.Button.ButtonEventHandler"/> delegate,
            so you can use the same event handler for both Button states.
            </remarks>
        </member>
        <member name="E:Gadgeteer.Modules.Sytech.Button.ButtonPressed">
            <summary>
            Raised when the state of <see cref="T:Gadgeteer.Modules.Sytech.Button"/> is low.
            </summary>
            <remarks>
            Implement this event handler and the <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonReleased"/> event handler
            when you want to provide an action associated with Button activity.
            Since the state of the Button is passed to the <see cref="T:Gadgeteer.Modules.Sytech.Button.ButtonEventHandler"/> delegate,
            you can use the same event handler for both Button states.
            </remarks>
        </member>
        <member name="T:Gadgeteer.Modules.Sytech.Button.ButtonEventHandler">
            <summary>
            Represents the delegate that is used to handle the <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonReleased"/>
            and <see cref="E:Gadgeteer.Modules.Sytech.Button.ButtonPressed"/> events.
            </summary>
            <param name="sender">The <see cref="T:Gadgeteer.Modules.Sytech.Button"/> object that raised the event.</param>
            <param name="state">The state of the Button</param>
        </member>
        <member name="T:Gadgeteer.Modules.Sytech.Button.ButtonState">
            <summary>
            Represents the state of the <see cref="T:Gadgeteer.Modules.Sytech.Button"/> object.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.ButtonState.Pressed">
            <summary>
            The state of Button is low - pressed.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.ButtonState.Released">
            <summary>
            The state of Button is high - released.
            </summary>
        </member>
        <member name="T:Gadgeteer.Modules.Sytech.Button.LEDModes">
            <summary>
            Enuerates the various modes a LED can be set to.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.LEDModes.On">
            <summary>
            The LED is on regardless of the button state.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.LEDModes.Off">
            <summary>
            The LED is off regardless of the button state.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.LEDModes.ToggleWhenPressed">
            <summary>
            The LED changes state whenever the button is pressed.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.LEDModes.ToggleWhenReleased">
            <summary>
            The LED changes state whenever the button is released.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.LEDModes.OnWhilePressed">
            <summary>
             The LED is on while the button is pressed.
            </summary>
        </member>
        <member name="F:Gadgeteer.Modules.Sytech.Button.LEDModes.OnWhileReleased">
            <summary>
            The LED is on except when the button is pressed.
            </summary>
        </member>
    </members>
</doc>
